
export default   {
  name:"employee",
  path: '/staff',
  component: () => import("@/views/staff/staff.vue"),
  meta: {
    title: "员工",
    icon: "员工管理",
  },
  children:[
    {
      path:'/addStaff',
      name:'addStaff',
      component:()=>import("@/views/staff/addStaff.vue"),
      meta:{
        title:"添加员工"
      }
    },
    {
      path:'/editStaff',
      name:'editStaff',
      component:()=>import("@/views/staff/editStaff.vue"),
      meta:{
        title:"查看员工详情"
      }
    }
  ]
}